<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自加</title>
    <script>
        var num=1;
        console.log(num++);
       //console.log(++num);
    </script>
</head>
<body>

</body>
</html>